package com.nest4cloud.nest.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nest4cloud.nest.account.entity.AccountTypeEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

public interface AccountTypeService extends IService<AccountTypeEntity> {

	boolean saveEntity(AccountTypeEntity accountType);

	/**
	 * 获取用户下的账户类型
	 * @return
	 */
	Map<Integer,Object> getAccountTypeByUserId();

	AccountTypeEntity getAccountTypeById(Long accountTypeId);

}
